package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.VideoRecommend;

@Mapper
@Component
public interface VideoRecommendMapper extends MyMapper<VideoRecommend> {


    /**
     * 添加热门视频信息
     *
     * @return
     */
    Integer insertVideoRecommended(VideoRecommend vrd);

    /**
     * 查询选择的热门视频信息
     *
     * @param vrd
     * @return
     */
    List<VideoRecommend> findVideoRecommended(VideoRecommend vrd);

    /**
     * 修改热门视频信息
     *
     * @param vrd
     * @return
     */
    Integer updateVideoRecommend(VideoRecommend vrd);


    /**
     * 删除热门视频信息
     *
     * @param vrd
     * @return
     */
    Integer deleteVideoRecommend(VideoRecommend vrd);

}
